package com.example.springboot_system.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author xgs
 * @Description: 用户-角色表
 * @date 2019/3/20
 */
@Data
@TableName("his_user_role")
public class UserRole {

    @Column(name = "id")
    private String id;

    @Column(name = "create_datetime")
    private Date createDatetime;

    @Column(name = "uid")
    private String uid;

    @Column(name = "role_id")
    private String roleId;

    @Column(name = "description")
    private String description;
    /**
     * 管理员审核状态 -1审核不通过 0等待审核 1通过
     **/
    @Column(name = "role_status")
    private Integer roleStatus;


}
